package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 拼多多商品信息表
 */
import java.io.Serializable;
@ApiModel(value = "PDDProduct对象",description = "款式详情实体类")
@TableName("pdd_product")
@Data
public class PDDProduct implements Serializable {
    private static final long serialVersionUID = 889723890107264765L;

    @ApiModelProperty(value = "商品ID主键")
    @TableId
    private String goodsId;
    @ApiModelProperty(value = "標題")
    private String goodsName;
    @ApiModelProperty(value = "售價")
    private double normalPrice;
    @ApiModelProperty(value = "市場價")
    private double marketPrice;
    @ApiModelProperty(value = "拼團價")
    private double price;
    @ApiModelProperty(value = "待拼团数")
    private int customerNum;
    @ApiModelProperty(value = "已售数量")
    private int cnt;
    @ApiModelProperty(value = "链接地址")
    private String linkUrl;
    @ApiModelProperty(value = "商家ID")
    private String mallId;
    @ApiModelProperty(value = "商家名称")
    private String mallName;
    @ApiModelProperty(value = "商家链接")
    private String pddRoute;
    @ApiModelProperty(value = "商品数量")
    private int goodsNum;
    @ApiModelProperty(value = "类目ID")
    private String catId;
    @ApiModelProperty(value = "类目层级")
    private String catPath;
    @ApiModelProperty(value = "待拼团数量")
    private int combineGroupNumber;
    @ApiModelProperty(value = "评价数量")
    private int reviewNum;
    @ApiModelProperty(value = "优惠券")
    private String batchName;
    @ApiModelProperty(value = "优惠券金额")
    private double minAmount;
    @ApiModelProperty(value = "优惠券到期时间")
    private String endTime;
    @ApiModelProperty(value = "处理状态")
    private String state;
    @ApiModelProperty(value = "所属用户")
    private String username;
}
